package cn.edu.wfit.modules.learn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 阶段对象 wfit_stage
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
public class WfitStage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID，唯一标识 */
    private Long id;

    /** 阶段名称 */
    @Excel(name = "阶段名称")
    private String stageName;

    /** 所属课程ID，关联course表的课程ID */
    @Excel(name = "所属课程ID，关联course表的课程ID")
    private Long courseId;

    /** 课程顺序，表示该阶段在课程中的顺序 */
    @Excel(name = "课程顺序，表示该阶段在课程中的顺序")
    private Long stageOrder;

    /** 状态（0 正常, 1 停用） */
    @Excel(name = "状态", readConverterExp = "0=,正=常,,1=,停=用")
    private String status;

    /** 删除标志（0 存在, 2 删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }



    public void setStageName(String stageName) 
    {
        this.stageName = stageName;
    }

    public String getStageName() 
    {
        return stageName;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setStageOrder(Long stageOrder) 
    {
        this.stageOrder = stageOrder;
    }

    public Long getStageOrder() 
    {
        return stageOrder;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stageName", getStageName())
            .append("courseId", getCourseId())
            .append("stageOrder", getStageOrder())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
